$(document).ready(init);

/**
 * 审批仪器管理员
 */
function init() {
	var queryParams = {
	    'employee.isCheck' : 0,
	    'employee.empType': 6
	};
	
	renderRegister(queryParams, true);
	
	$('#searchButton').click(searchByName);
}

function searchByName() {
	var queryParams = {
		'employee.empName' : $.trim($('#empName').val()),
		'employee.loginAccount' : $.trim($('#loginAccount').val()),
		'employee.isCheck' : 0,
	    'employee.empType': 6
	};
	
	renderRegister(queryParams, true);
}